package com.example.express_user.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ControllerTest {
    @RequestMapping("/user_test")
    @PreAuthorize("permitAll()")
    public String r1() {
        return "用户系统访问成功!";
    }
}
